import requests

from db_util import DBUtils


class IhrmUpdateApi:
    @classmethod
    def update_api(self, req_url, req_head, req_body):
        # 准备修改行头体
        u_res = requests.put(url=req_url, headers=req_head, json=req_body)
        return u_res
